By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,119 Members | 2,064 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,119 IT Pros & Developers. It's quick & easy.

Custom URLs for Cookieless Sessions

P: n/a
I have an odd scenario.

I am working on a hybrid site that uses various development platforms,
namely traditional ASP and Lasso (a Mac scripting language). The site uses
its own custom sessions stored in a mySQL database, and state is maintained
through the URL, passing a session GUID in the URL between page calls. For
example:

http://localhost/index.html?-session...74BBRxjX1B4B48

I am working on adding a new portion of the site, built in ASP.NET (VB).
I'm aware of .NET's built-in abilities to use cookieless sessions by
embedding the session GUID in the URL, but I need it to be in the form of
the above example, and I need to control the value of the GUID (i.e. custom
cookieless sessions).

Is there a way for me to set my .NET site up so that I can automatically
embed my own session GUID in each URL, using the format above? I'm aware
that I could create my own user control that inherits the HyperLink control,
but this will obviosly not work for normal <a href> tags, or code-behind
redirects. This may be my only option though, but I figured it wouldn't
hurt to ask.

Thanks in advance.

Jerad
Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.