Forums

ASP

This topic is locked

Help with sessions

Posted 30 Jan 2007 05:53:02
1
has voted
30 Jan 2007 05:53:02 phil C posted:
heres what i need to do..

when home page loads.. create a random alphanumeric var about 10 chrs long or more, then set a session var called 'sessionID' containing that alphanumeric var.

Also....

i would like all other pages to check if a session var called 'sessionID' exists and if not set it as per above.

Any ideas.. i'm New at this by the way

Replies

Replied 31 Jan 2007 09:10:08
31 Jan 2007 09:10:08 Dave Clarke replied:
Replied 31 Jan 2007 14:25:23
31 Jan 2007 14:25:23 phil C replied:
Hi Dave
Thanks for the url. works a treat.

Now have every page checking for sessionID and if not present running the extension. ACE//

Thansk again

Replied 01 Feb 2007 08:36:07
01 Feb 2007 08:36:07 Dave Clarke replied:
you're welcome<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

DW8.02|ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome.
www.reunite.co.uk

Reply to this topic