Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 04-17-2006, 03:07 PM   #1
Beta Member
 
Join Date: Apr 2006
Posts: 2
Default I need Help wit scripting

Hi i really need help with this.

i need to create a page that will allow users to log out of the site. The page script will kill the "Session" so that all Session Variables will be set to NULL.
Before killing the Session, your script should ask the user if he/she really wants to leave the site. If YES then kill the session and return the user to the login page. If the user does not want to leave the site, redirect the user back to the "menu.asp page".
__________________

cns187 is offline   Reply With Quote
Old 04-17-2006, 03:12 PM   #2
Beta Member
 
Join Date: Apr 2006
Posts: 2
Default Re: I need Help wit scripting

anybody ????
__________________

cns187 is offline   Reply With Quote
Old 04-17-2006, 04:29 PM   #3
Daemon Poster
 
uid=[0]'s Avatar
 
Join Date: Apr 2006
Posts: 906
Send a message via Yahoo to uid=[0]
Default Re: I need Help wit scripting

what kind of database are you using?
__________________
"Security is nothing more than a thought that makes you sleep well at night." - Me
MCSE/MCSA
Security+/Network+
Wireless Network Security Spec.
uid=[0] is offline   Reply With Quote
Old 04-18-2006, 06:03 AM   #4
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 7,999
Default Re: I need Help wit scripting

what sort of session are you using?

(cookies/server session?)

and what language are you using to set the session/cookie?
ASP/PHP/PERL/Javascript etc...?

Also, are you worried about leaving the page, or do you want a pop-up to ask you if you want to clear the cookies with an OK/concel button etc...
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 04-18-2006, 06:36 AM   #5
j03
~~~~~~~~
 
Join Date: Jan 2005
Location: Wales
Posts: 5,556
Send a message via MSN to j03
Default Re: I need Help wit scripting

Quote:
redirect the user back to the "menu.asp page".
I think he is using ASP
j03 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 11:36 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0