Session Issue

L

Lav KG

Hi ,

I'm initializing a Session variable when I navigate from
Page A to Page B.
I want it to be reinitialized when the user navigates from B--> A by
pressing "Back" navigation button/link.

Can anyone tell me how I should go about it?

Regards
Lav KG
 
B

bruce barker \(sqlwork.com\)

normally the browser does not notify the server when the back is used.you
can set the page to expir, but users will a message about re-posting data.
a better approach is to rework your logic.

-- bruce (sqlwork.com)
 
L

Lav KG

...a better approach is to rework your logic.

Bruce,
A user selects a particular product on the first page, processing for
that particular product is done in rest of the pages.So once he opts to
go back to the main page
I want the "Selected Product" to be null.

I think it's too simple a logic. :)

Regards
Lav KG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,142
Latest member
arinsharma
Top