Groups | Blog | Home
all groups > dotnet faqs > january 2004 >

dotnet faqs : Reg SESSION..


Jagadeesh
1/23/2004 3:10:16 PM
hi
i have a login page. as soon as the user logs in, am moving the User_id and
Session Id to a log table.

The problem is that if i use the back button of the browser and login again.
am getting the same session ID. but i want it to be an unique one.....

any help... wud be useful...

Reagards
Jagadeesh

Thushendra Jayasekera
1/23/2004 4:02:15 PM
hi u can transfer some random no with querytring ans save the same no in
server variables then each time he visit server check the no usent with url
and server variable from this u can keep the unique no or u can use .net to
generate image also.

thanx

thushendra

[quoted text, click to view]

Gaurav Khanna [C#/.NET MVP]
1/23/2004 6:15:19 PM
Hi!

Have you set the expiry of the page using HttpResponse.Expires?

--
Regards,
Kumar Gaurav Khanna
-----------------------------------------------------------------
Microsoft MVP - C#/.NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/
Bangalore .NET Users' Group
http://groups.msn.com/bdotnet/
[quoted text, click to view]

AddThis Social Bookmark Button