View Full Version : Can a widget know its own state

06-17-2008, 06:26 PM
Hello Folks!

The following is done is ASP:

So I was wondering if a widget like a spry collapsible panel can know its own state. For example: A user goes to a page and logs themselves in, is there a way to then turn off the Log In widget and display a "Welcome "username"" Mind you I created a template with the widget but its enclosed in a editable area so it can be taken out.

Now part 2:
If the user is not logged in can the widget remain "on" while they still browse the site?

I was thinking on making User restriction but this is dumb because I would have to create 2 pages for every one page I create so they could be redirected. I know there is a way to do the first one but I just don't know much about ASP to think in the 2 track dimension. Any help would be awesome!

Thank you in advance.

06-17-2008, 06:44 PM
you need a logic statement which sets a session if you log in

you are starting to look for functionality that fall outside the scope of behaviours that are currently out there.

If you haven't learnt any code yet and just focused on the wizards then i suggest you get a book and start learning or switch to PHP and try our video tutorials out

you will be fleeing in no time