Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Capturing session id's
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

NetArchitect
Starting Member

USA
26 Posts

Posted - 02 April 2007 :  09:49:26  Show Profile  Visit NetArchitect's Homepage  Send NetArchitect an AOL message  Send NetArchitect an ICQ Message  Send NetArchitect a Yahoo! Message
Hello all you dedicated Snitzers...

I have a question about carrying over and capturing persistent data in the referring URL in the sign-up/registration process.

I am currently developing a site which integrates the current version of the forum code with the site. In order to capture the referring Session The line of code:
ID=<%Response.Write(Session.SessionID)%>
Has been placed into the referring page link.

It captures the session ID and carrys it over to the landing page prior to allowing a new user to sign up, but what I need to know is:

Is there a way to capture that session ID and insert it transparently into the database as a prerequisite to sign up completion?

Currently I simply have placed all new sign ups on "Approval" basis only, and only when they provide the sessionID. Well I think you get the gist of it. Any input would be sincerely appreciated.
P.s.
I am currently using the access database but plan to switch over to full blown SQLserver as soon as we complete our upgrade.


-We don't need Alien Races to come from other planets to Steal Our Children - We have CPS for that and they wouldn't take too kindly to some Outsider cutting in on their Action-

NetArchitect
Starting Member

USA
26 Posts

Posted - 02 April 2007 :  10:48:01  Show Profile  Visit NetArchitect's Homepage  Send NetArchitect an AOL message  Send NetArchitect an ICQ Message  Send NetArchitect a Yahoo! Message
Here's a thought on this...
Because the password is already required for sign-up, and the session id is purely numeric,
can I simply use the session id already in the url as the password?
If so, which lines in which inc_??? need to be changed (or not perhaps?) to allow for this string
to be used as the users sign up password?

-We don't need Alien Races to come from other planets to Steal Our Children - We have CPS for that and they wouldn't take too kindly to some Outsider cutting in on their Action-
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 02 April 2007 :  10:54:27  Show Profile  Send pdrg a Yahoo! Message
I think I see what you're doing, but I'm not certain it's the best way to go about it - could you break it down into steps but also explain in depth the end result you want to achieve? The reason I'm confused and asking is that SessionID's are really not ever meant to be stored/used as they're a server-side cheat to give the appearance/illusion of a stateful protocol (which HTTP isn't), so storing the value is pretty meaningless as it is random, and expires in 20 mins anyway...
Go to Top of Page

NetArchitect
Starting Member

USA
26 Posts

Posted - 02 April 2007 :  11:38:12  Show Profile  Visit NetArchitect's Homepage  Send NetArchitect an AOL message  Send NetArchitect an ICQ Message  Send NetArchitect a Yahoo! Message
Thank you... Problem solved!

-We don't need Alien Races to come from other planets to Steal Our Children - We have CPS for that and they wouldn't take too kindly to some Outsider cutting in on their Action-
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 02 April 2007 :  14:47:37  Show Profile  Send pdrg a Yahoo! Message
Glad it's solved :)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07